package com.example;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.Transactional;

@Slf4j
@SpringBootApplication
@ServletComponentScan
@Transactional
@EnableCaching
public class OrderApplication {

    public static void main(String[] args) {

        log.info("springboot启动了");
        SpringApplication.run(OrderApplication.class, args);

    }

}
